import { IElement } from "./elementType";
import { anyObject } from "./commonType";

export interface IComponent {
  uuid: string;
  name: string;
  version: string;
  rootState: IRootState;
  dataModel: IDataModel;
  view: IElement;
}


export interface IRootState {
  $root: anyObject;
  [key: string]: any;
}

export interface IDataModel {
  [key: string]: any;
}